projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28807cd
)
xm: Add "tap2" to attach blocktap disks to VM
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:49:41 +0000
(09:49 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:49:41 +0000
(09:49 +0100)
I detected a problem when using XenAPI. When I started a VM by
using xm create command, blocktap disks were not attached to the
VM.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/xenapi_create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/xenapi_create.py
b/tools/python/xen/xm/xenapi_create.py
index bb816f278b4130239216a0156b7374357b0b527a..cb7130bebcd8faaffdde13411edb66c231562346 100644
(file)
--- a/
tools/python/xen/xm/xenapi_create.py
+++ b/
tools/python/xen/xm/xenapi_create.py
@@
-594,7
+594,7
@@
class sxp2xml:
if len(child) > 0 and child[0] == "device"]
vbds_sxp = map(lambda x: x[1], [device for device in devices
- if device[1][0] in ("vbd", "tap")])
+ if device[1][0] in ("vbd", "tap"
, "tap2"
)])
vifs_sxp = map(lambda x: x[1], [device for device in devices
if device[1][0] == "vif"])